//
//  CZLogisticsUrl.h
//  logistics
//
//  Created by 孔凡列 on 16/3/31.
//  Copyright © 2016年 czebd. All rights reserved.
////

#ifndef CZLogisticsUrl_h
#define CZLogisticsUrl_h

#pragma mark - 项目全局URL
//公网测试
//#define IPSTR @"http://183.61.108.43:8080"
//#define CZBASEURL @"http://183.61.108.43:8080/doc/"
//#define IPUPLOAD @"http://183.61.108.43:8080/doc/"

//#define IPSTR @"http://www.kuaifengla.com:8080/logistic/"
//#define CZBASEURL @"http://www.kuaifengla.com:8080/doc/"
//#define IPUPLOAD @"http://www.kuaifengla.com:8080/doc/"



// 公网发布
#define SHAREIP @"http://link.kuaifengla.com/"
//#define CZBASEURL @"http://link.kuaifengla.com/doc/"
//#define IPUPLOAD @"http://link.kuaifengla.com/doc/"


//#define IPSTR @"http://183.61.108.41/"
//#define CZBASEURL @"http://183.61.108.41/doc/"
//#define IPUPLOAD @"http://183.61.108.41/doc/"


//内网测试
#define IPSTR @"http://192.168.16.217:8080/logistic/"
#define CZBASEURL @"http://192.168.16.120:8080/doc/"
#define IPUPLOAD @"http://192.168.16.120:8080/doc/"


//社交内网测试
#define socialBaseURL @"http://192.168.16.217:8080/logistic-front"

//社交公网测试
//#define socialBaseURL @"http://183.61.108.43:8080/logistic-front/"

//图片内网拼接地址
#define pictureURL  @"http://192.168.16.120:8080/doc/"



//上传图片服务器地址：http://183.61.108.39/doc/
//读取图片服务器地址：http://183.61.108.41/doc/

//访问接口地址：http://183.61.108.41

//内网图片地址：http://192.168.16.120:8080/doc/


#pragma mark - 首页
// 广告页
#define CZADVERTISEMENTURL [NSString stringWithFormat:@"%@app/advertisement/getAdvertisements.do",IPSTR]

// 上传经纬度
#define CZUPLOADLOCATIONURL [NSString stringWithFormat:@"%@app/member/uploadLocation.do",IPSTR]

//上传会员经纬度
#define memberLocation [NSString stringWithFormat:@"%@app/member/uploadAccountLocation.do",IPSTR]


#pragma mark - 我

// 查询我的邀请用户
#define CZCHECKMINEINVITEURL [NSString stringWithFormat:@"%@app/member/getMyInviter.do",IPSTR]

// 查看会员信息
#define CZCHECKMEMBERMESSAGETURL [NSString stringWithFormat:@"%@app/member/getMemberById.do",IPSTR]

// 我的评价
#define CZMINECOMMENTURL [NSString stringWithFormat:@"%@app/order/myEvaluates.do",IPSTR]

// 提交评价
#define CZSUBMITCOMMENTURL [NSString stringWithFormat:@"%@app/order/evaluate.do",IPSTR]

// 发送验证码
#define CZSENDCODEURL [NSString stringWithFormat:@"%@app/member/sendCode.do",IPSTR]

// 注册
#define CZREGISTURL [NSString stringWithFormat:@"%@app/member/register.do",IPSTR]

// 登录
#define CZLOGINURL [NSString stringWithFormat:@"%@app/member/login.do",IPSTR]

// 重置密码
#define CZRESETPASSWORLDURL [NSString stringWithFormat:@"%@app/member/updatePassword.do",IPSTR]

// 跳转到充值界面
#define CZTOPUPURL [NSString stringWithFormat:@"%@app/recharge/redirectPay.do",IPSTR]

// 充值记录界面
#define CZTOPUPHISTORYURL [NSString stringWithFormat:@"%@app/member/getMyRebateHis.do",IPSTR]

// 修改用户信息
#define CZUPDATAMEMBERMESSAGEURL [NSString stringWithFormat:@"%@app/member/updateMember.do",IPSTR]

// 查看常用地址
#define CZCHECKCOMMENTADDRESSURL [NSString stringWithFormat:@"%@app/member/checkAddr.do",IPSTR]


// 修改手机号码
#define CZUPDATAPHONEURL [NSString stringWithFormat:@"%@app/member/updatePhone.do",IPSTR]

// 校正手机验证码

#define CZVALIDCODEURL [NSString stringWithFormat:@"%@app/member/validCode.do",IPSTR]

// 申请提现
#define CZAPPLYUPDATETRADEURL [NSString stringWithFormat:@"%@app/member/applyWithdraw.do",IPSTR]

//新增或修改收益提现账号
#define CZSAVEORUPDATECOUACCOUNTURL [NSString stringWithFormat:@"%@app/member/saveOrUpdateCouAccount.do",IPSTR]

//收益提现申请
#define CZAPPLYWITHDRAWALSURL [NSString stringWithFormat:@"%@app/member/applyWithdrawals.do",IPSTR]

//收益提现记录
#define CZAPPLYWDHISTORYURL [NSString stringWithFormat:@"%@app/member/applyWDHistory.do",IPSTR]

// 申请提现记录
#define CZAPPLYGETWITHDRAWLISTURL [NSString stringWithFormat:@"%@app/member/getWithdrawList.do",IPSTR]

// 设置提现密码
#define CZUPDATATRADEPASSWORDURL [NSString stringWithFormat:@"%@app/member/updateTradePassword.do",IPSTR]


// 我的发单(代送)
#define CZMINESENDOIDURL [NSString stringWithFormat:@"%@app/order/mySendOrders.do",IPSTR]

// 我的发单(代买)
#define CZMINEBUYOIDURL [NSString stringWithFormat:@"%@app/buyorder/myBuyOrders.do",IPSTR]

// 我的发单详情（代送）
#define CZMINESENDOIDDETAILURL [NSString stringWithFormat:@"%@app/order/mySendOrderDetail.do",IPSTR]

// 我的发单详情（代买）
#define CZMINEBUYOIDDETAILURL [NSString stringWithFormat:@"%@app/buyorder/getBuyOrderDetail.do",IPSTR]

// 候选人查询（代送）
#define CZGETORDERCANDIATEURL [NSString stringWithFormat:@"%@app/order/getOrderCandiate.do",IPSTR]

// 候选人查询（代买）
#define CZGETBUYORDERCANDIATEURL [NSString stringWithFormat:@"%@app/buyorder/getOrderCandiate.do",IPSTR]

// 选择候选人（代送）
#define CZCHOOSEORDERSENDERURL [NSString stringWithFormat:@"%@app/order/chooseOrder.do",IPSTR]

// 选择候选人（代买）
#define CZCHOOSEORDERBUYURL [NSString stringWithFormat:@"%@app/buyorder/chooseOrder.do",IPSTR]

// 候选人信息
#define CZCOUTIERDETAILURL [NSString stringWithFormat:@"%@app/order/coutierDetail.do",IPSTR]

// 删除订单（代送）
#define CZDELETEMYSENDORDERURL [NSString stringWithFormat:@"%@app/order/deleteMySendOrder.do",IPSTR]

// 删除订单（代买）
#define CZDELETEMYBUYORDERURL [NSString stringWithFormat:@"%@app/buyorder/deleteBuyOrder.do",IPSTR]

// 取消订单（代送）
#define CZCANCELYSENDORDERURL [NSString stringWithFormat:@"%@app/order/cancelSendOrder.do",IPSTR]

// 取消订单（代买）
#define CZCANCELYBUYORDERURL [NSString stringWithFormat:@"%@app/buyorder/cancelBuyOrder.do",IPSTR]

// 修改订单代送
#define CZUPDATEORDERURL [NSString stringWithFormat:@"%@app/order/updateOrder.do",IPSTR]

// 修改订单代买
#define CZUPDATEBUYORDERURL [NSString stringWithFormat:@"%@app/buyorder/updateOrder.do",IPSTR]

// 强制退单（代送）
#define CZFORCEREFUNDORDERURL [NSString stringWithFormat:@"%@app/order/forceRefundOrder.do",IPSTR]

// 协商退单（代送）
#define CZCONSULTREFUNDORDERURL [NSString stringWithFormat:@"%@app/order/consultRefundOrder.do",IPSTR]

// 同意或拒绝退单（代送）
#define CZAGREEORREFUSEREFUNDORDERURL [NSString stringWithFormat:@"%@app/order/agreeOrRefuseRefund.do",IPSTR]


// 强制退单（代买）
#define CZBUYFORCEREFUNDORDERURL [NSString stringWithFormat:@"%@app/buyorder/forceRefundOrder.do",IPSTR]

// 协商退单（代买）
#define CZBUYCONSULTREFUNDORDERURL [NSString stringWithFormat:@"%@app/buyorder/consultRefundOrder.do",IPSTR]

// 同意或拒绝退单（代买）
#define CZBUYAGREEORREFUSEREFUNDORDERURL [NSString stringWithFormat:@"%@app/buyorder/agreeOrRefuseRefund.do",IPSTR]

// 新增地址
#define CZADDADDRURL [NSString stringWithFormat:@"%@app/member/addAddr.do",IPSTR]

// 默认地址
#define CZUPDATEADDRURL [NSString stringWithFormat:@"%@app/member/updateAddrDef.do",IPSTR]

// 删除地址
#define CZDELETEADDRURL [NSString stringWithFormat:@"%@app/member/deleteAddr.do",IPSTR]


// 快递员提交申请
#define CZCOUTIERAPPLYURL [NSString stringWithFormat:@"%@app/member/coutierApply.do",IPSTR]

//查看快递员信息
#define CZGETCOUTIERAPPLYURL [NSString stringWithFormat:@"%@app/member/getCoutier.do",IPSTR]

//快递员考试通过
#define CZGETCOUTIERPASSURL [NSString stringWithFormat:@"%@app/member/CoutierPass.do",IPSTR]

//查找余额方法
#define CZGETMYREBATEURL [NSString stringWithFormat:@"%@app/member/getMyRebate.do",IPSTR]

//查询我的交易明细
#define GETMYCONSUMEHISTORYURL [NSString stringWithFormat:@"%@app/member/getMyConsumeHis.do",IPSTR]

//查询我的收益明细
#define CZGETMYPROFITHISYURL [NSString stringWithFormat:@"%@app/member/getMyProfitHis.do",IPSTR]

// 打开关闭推送
#define CZSWITCHREMOTEPUSHURL [NSString stringWithFormat:@"%@app/member/chgPushMsg.do",IPSTR]

// 查询我的优惠券信息
#define CZGETCOUPONSURL [NSString stringWithFormat:@"%@app/member/getMyCoupons.do",IPSTR]


// 意见反馈
#define CZADDFEEDBACKURL [NSString stringWithFormat:@"%@app/member/addFeedback.do",IPSTR]


#pragma mark - 抢单
// 我的抢单(代送)
#define CZMINEGRABSINGLEURL [NSString stringWithFormat:@"%@app/order/myRollOrders.do",IPSTR]

// 我的抢单（代买）
#define CZMINEGRABSINGLEBUYURL [NSString stringWithFormat:@"%@app/buyorder/myBuyRollOrders.do",IPSTR]

// 去抢单页面列表（代送）
#define CZGRABSINGLEURL [NSString stringWithFormat:@"%@app/order/getNearbyOrders.do",IPSTR]

// 去抢单页面列表（代买）
#define CZGRABSINGLEBUYURL [NSString stringWithFormat:@"%@app/buyorder/getNearbyOrders.do",IPSTR]

// 抢单方法(代送)
#define CZGRABMETHODSURL [NSString stringWithFormat:@"%@app/order/rollOrder.do",IPSTR]

// 抢单方法(代买)
#define CZGRABBUYMETHODSURL [NSString stringWithFormat:@"%@app/buyorder/rollOrder.do",IPSTR]

#pragma mark - 图片上传
#define CZUPLOADIMAGEURL [NSString stringWithFormat:@"%@/uploadFile?type=appUp",IPUPLOAD]




//充值网关页面
#define CZTOPUPMETHODSURL [NSString stringWithFormat:@"%@app/recharge/redirectPay.do",IPSTR]

//支付宝充值
#define CZTOPUPRECHARGEURL [NSString stringWithFormat:@"%@app/recharge/confirmAndAliPay.do",IPSTR]

// 微信充值
#define CZRECHARGEWECHATPAYURL [NSString stringWithFormat:@"%@app/recharge/getWebChatPrePayId.do",IPSTR]

#pragma mark - 发单
// 立即下单 (代送)
#define CZSENDOIDURL [NSString stringWithFormat:@"%@app/order/addSendOrder.do",IPSTR]

// 立即下单 (代买)
#define CZBUYOIDURL [NSString stringWithFormat:@"%@app/buyorder/addBuyOrder.do",IPSTR]

// 请求获得建议价格（按距离推算）（代送）
#define CZGETSUGGESTPRICEURL [NSString stringWithFormat:@"%@app/order/countPrice.do",IPSTR]

// 请求获得建议价格（按距离推算）（代买）
#define CZGETBUYSUGGESTPRICEURL [NSString stringWithFormat:@"%@app/buyorder/countPrice.do",IPSTR]




#pragma mark - 支付
// 支付界面
#define CZGETPAYMESSAGEURL [NSString stringWithFormat:@"%@app/pay/redirectPay.do",IPSTR]

// 支付宝支付
#define CZCONFIRMANDALIPAYURL [NSString stringWithFormat:@"%@app/pay/confirmAndAliPay.do",IPSTR]

// 微信支付
#define CZWECHATPAYURL [NSString stringWithFormat:@"%@app/pay/getWebChatPrePayId.do",IPSTR]

// 余额支付
#define CZREBATEPAYURL [NSString stringWithFormat:@"%@app/pay/payByRebate.do",IPSTR]


#pragma mark - 消息推送
// 消息推送列表
#define CZMESSAGEPUSHLISTURL [NSString stringWithFormat:@"%@app/member/getMessages.do",IPSTR]

// 修改推送消息为已读方法
#define CZUPDATEMESSAGEPUSHDETAILURL [NSString stringWithFormat:@"%@app/member/updateMessages.do",IPSTR]
#endif /* CZLogisticsUrl_h */
